<%= error_messages_for 'deliverable' %>

<p>Please look <%= link_to "here", :controller => :site, :action => :help %> for help on what these fields mean.

<!--[form:deliverable]-->
<p><label for="deliverable_project_name">Release or Project name</label><br/>
<%= text_field_with_auto_complete 'deliverable', 'project_name', :size => 50, :focus => true %></p>

<p><label for="deliverable_product_name">Product name</label><br/>
<%= text_field_with_auto_complete 'deliverable', 'product_name', :size => 50 %></p>

<p><label for="deliverable_feature_name">Feature name</label><br/>
<%= text_field_with_auto_complete 'deliverable', 'feature_name', :size => 50 %></p>

<p><label for="deliverable_description">Description</label><br/>
<%= text_field 'deliverable', 'description', :size => 80 %></p>

<p><label for="deliverable_resources">Resources (e.g. "John, Sally")</label><br/>
<%= text_field_with_auto_complete 'deliverable', 'resource_names_csv' %>

<% unless @deliverable.schedulable.instance_of?TodoList %>
  <p><label for="deliverable_status">Status</label><br/>
  <%= select 'deliverable', 'status_id', @status_options, :include_blank => true %>

  <%= observe_field :deliverable_status_id, :url => { :action => :get_todo_lists },
  :update => :todo_lists_field, :with => 'deliverable_status_id'
  %>
<% end %>

<div id="todo_lists_field" >
</div>


<p><label for="deliverable_comments">Comments</label><br/>
<%= text_area 'deliverable', 'comments', :cols => 80, :rows =>20 %></p>

<%= hidden_field 'deliverable', 'schedulable_id' %>
<%= hidden_field 'deliverable', 'schedulable_type' %>
<!--[eoform:deliverable]-->

